<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>媒体查询</title>
    <style>
        body{
            background: #47c9af;
        }
        
        @media (min-width: 320px) {
            body{
                background: red;
            }
        }

        @media (min-width: 414px) {
            body{
                background: aqua;
            }
        }

        @media (min-width: 768px) {
            body{
                background: gray;
            }
        }

        @media (min-width: 960px) {
            body{
                background: goldenrod;
            }
        }

        @media (min-width: 1204px) {
            body{
                background: orangered;
            }
        }
    </style>
</head>
<body>

</body>
</html>